
create table tb_sync_error_log
(
       id     number(20,0) not null,
       line_number         nvarchar2(200),
       err_code nvarchar2(200),
       err_messaage nvarchar2(2000),
	   Create_Date	date,
       constraint PK_tb_error_log primary key (id)
)
;
create sequence tb_sync_error_log_seq
;

create or replace trigger insert_tb_sync_error_log
before insert on tb_sync_error_log
for each row
begin
  select tb_sync_error_log_seq.nextval
  into :new.ID
  from sys.dual;
end;

